package com.wangfugui.apprentice.common.util;

import io.netty.buffer.ByteBuf;

import java.io.InputStream;

public interface IOssClient {
    String upload(InputStream inputStream, String originalFilename, String basePath);

    String upload(InputStream inputStream, String originalFilename, String basePath, BucketNameEnum bucketName);

    ByteBuf download(String fileUrl);
}
